package com.bwie.common.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商品分类表
 * </p>
 *
 * @author liuxin
 * @since 2025-04-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_goods_classify")
@ApiModel(value="TGoodsClassify对象", description="商品分类表")
public class GoodsClassify implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "商品分类表id")
    @TableId(value = "goods_classify_id", type = IdType.AUTO)
    private Long goodsClassifyId;

    @ApiModelProperty(value = "分类名称")
    private String goodsClassifyName;

    @ApiModelProperty(value = "父id")
    private Integer pId;

    @ApiModelProperty(value = "是否显示0不显示1显示")
    private Integer goodsClassifyShow;

    @ApiModelProperty(value = "排序字段")
    private Integer goodsClassifySort;

    @ApiModelProperty(value = "图表地址")
    private String goodsClassifyUrl;

    @ApiModelProperty(value = "计量单位")
    private String measurement;

    @ApiModelProperty(value = "逻辑删除0存在1不存在")
    private Integer isDeleted;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;


}
